package com.smile.frame.workflow.flowable.demo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @author LGC
 */
@Schema(description = "流程模型Request VO")
@Data
public class BpmModelUpdateReqDTO {

    @Schema(description = "模型ID", example = "1")
    @NotBlank(message = "模型ID不能为空")
    private String id;

    @Schema(description = "流程名称", example = "请假审批流程")
    @NotBlank(message = "流程名称不能为空")
    private String name;

    @Schema(description = "流程分类", example = "1")
    @NotBlank(message = "流程分类不能为空")
    private String category;

    @Schema(description = "流程描述", example = "流程描述")
    private String description;

    @Schema(description = "BPMN XML")
    @NotBlank(message = "BPMN XML不能为空")
    private String bpmnXml;


}
